//
//  BORefreshFooter.m
//  coffee1029
//
//  Created by ouyrp on 15/12/15.
//  Copyright © 2015年 liwei. All rights reserved.
//

#import "BORefreshFooter.h"

@implementation BORefreshFooter

+ (instancetype)mt_footerWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;{
    BORefreshFooter *footer = [super footerWithRefreshingBlock:refreshingBlock];
    if (footer) {
        footer.backgroundColor = [UIColor clearColor];
        [footer setTitle:@"上拉加载更多" forState:MJRefreshStateIdle];
        [footer setTitle:@"加载中" forState:MJRefreshStateRefreshing];
        [footer setTitle:@"已经拉到底了" forState:MJRefreshStateNoMoreData];
    }
    
    return footer;
}

@end
